package com.gf.framework.idgenetor.porperties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author gaofei
 * @date 2022/6/5 10:42
 */
@Data
@Component
@ConfigurationProperties("gf.idgenetor")
public class IdGeneotrProperties {
    private Integer dataCenterId = -1;
    private Integer workerId = 0;
}
